//
//  File.swift
//  RongYiHua
//
//  Created by 卢小艳 on 2025/7/14.
//

import Foundation
import UIKit
import SnapKit


class JQFXHLoanSuccessxxController: HJYJBaseViewController {
    
//    var para : [String : String] = [:]
    
    override func viewDidLoad() {
        super.viewDidLoad()
        title = "提交成功"
        self.view.backgroundColor = UIColor.white
        JQFXHNetworkManager.shared.jqfxhUpdatebbLoanedMobile()
        self.jqfxhSetupssSubviews()
        
    }
    
    func jqfxhSetupssSubviews() -> Void {
        
        self.view.addSubview(jqfxhSuccessuuImg)
        
        let heighttt = (jqfxhScreenWidth-56)*344/319
        
        jqfxhSuccessuuImg.snp.makeConstraints { make in
            make.centerX.equalTo(self.view)
            make.left.equalTo(self.view).offset(28)
            make.centerY.equalTo(self.view).offset(-40)

            make.height.equalTo(heighttt)
        }
        
        let tap = UITapGestureRecognizer.init(target: self, action: #selector(back))
        jqfxhSuccessuuImg.addGestureRecognizer(tap)
        
    }
    
    lazy var jqfxhSuccessuuImg : UIImageView = {
        let jqfxhSuccessuuImg = UIImageView(image: UIImage(named: "jqfxh_success_img"))
        jqfxhSuccessuuImg.backgroundColor = UIColor.white
        jqfxhSuccessuuImg.layer.cornerRadius = 4
        jqfxhSuccessuuImg.layer.masksToBounds = true
        jqfxhSuccessuuImg.isUserInteractionEnabled = true
        return jqfxhSuccessuuImg
    }()
    
   
    @objc override func jqfxhBackBarkkAction() {
        // 自定义返回按钮的动作
        self.navigationController?.popToRootViewController(animated: true)

    }
    
    @objc func back() {
        self.navigationController?.popToRootViewController(animated: true)
    }
    
    


    
    
   
    
    
}
    
